<?php
/**
 * Created by PhpStorm.
 * User: 石季柱
 * Date: 2017/7/11
 * Time: 10:00
 */

namespace App\Services;


class BandService
{
    public function getAllBand($sort = true)
    {
        if ($sort) {
            return Band::orderBy('id')->get();
        }
        return Band::all();
    }
}